package cn.yitun.chat.yitunserverimbase.dao.contact;

import cn.yitun.chat.yitunservercommonlib.crud.yitun.CrudDao;
import cn.yitun.chat.yitunservercommonlib.dataentity.dto.contact.ContactAddVerifyAnswerDto;
import cn.yitun.chat.yitunservercommonlib.dataentity.po.contact.ContactAddVerifyAnswerInfo;
import cn.yitun.chat.yitunservercommonlib.dataentity.vo.contact.ContactAddVerifyAnswerVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 用户被添加的时验证问题回答
 * @author chenyitun
 * @email chenyitun@163.com
 * @date 2020-06-21 21:52:02
 */
@Mapper
public interface ContactAddVerifyAnswerDao extends CrudDao<ContactAddVerifyAnswerDto, ContactAddVerifyAnswerInfo, ContactAddVerifyAnswerVo> {

	int absDel(Long id);

	int batchAbsDel(Long[] ids);

	/**
	 * 批量保存
	 * @param list
	 * @return
	 */
    int saveList(@Param("list") List<ContactAddVerifyAnswerDto> list);
}
